/**
 * @projectName 高校就业网
 * @package com.kzj.CollegeEmploymentNetwork.model
 * @className com.kzj.CollegeEmploymentNetwork.model.Audit
 * @copyright Copyright 2025 Thunisoft, Inc. All rights reserved.
 */
package com.kzj.CollegeEmploymentNetwork.model;

import javax.persistence.Column;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import com.kzj.CollegeEmploymentNetwork.common.BaseEntity;
import javax.validation.constraints.Size;
import com.kzj.CollegeEmploymentNetwork.validate.Validate;


/**
 * Audit
 *
 * @description 审核表实体
 * @author kzj
 * @date 2025年01月20日 23:11:54
 * @version 1.0.0
 **/
@ApiModel("审核表")
@Table(name="db_recruit.t_audit")    
@Getter
@Setter
@ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class Audit extends BaseEntity{
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * 审核类型
     */
    @ApiModelProperty("审核类型")
    @Column(name = "n_type")
    private Integer type;

    /**
     * 审核状态
     */
    @ApiModelProperty("审核状态")
    @Column(name = "n_status")
    private Integer status;

    /**
     * 申请原因
     */
    @ApiModelProperty("申请原因")
    @Column(name = "c_application_reason", columnDefinition = "varchar(900)")
    @Size(max = 900, groups = {Validate.class}, message = "申请原因的最大长度为900")
    private String applicationReason;

    /**
     * 证明材料url(文件url;分割)
     */
    @ApiModelProperty("证明材料url(文件url;分割)")
    @Column(name = "c_evidentiary_material", columnDefinition = "varchar(900)")
    @Size(max = 900, groups = {Validate.class}, message = "证明材料url(文件url;分割)的最大长度为900")
    private String evidentiaryMaterial;

    /**
     * 驳回原因
     */
    @ApiModelProperty("驳回原因")
    @Column(name = "c_dismissal_reason", columnDefinition = "varchar(300)")
    @Size(max = 300, groups = {Validate.class}, message = "驳回原因的最大长度为300")
    private String dismissalReason;

}